/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package aprendizajePorRefuerzo.interfaz;

import aprendizajePorRefuerzo.politica.EpsilonGreedy;

/**
 *
 * @author Fernando Sorzana
 */
public class FabricaPanelesPoliticas {
    
    public PnlParametrosPolitica crearPanel(Object politica){
        if (EpsilonGreedy.class.isAssignableFrom(politica.getClass())){
            return new PnlParametrosEpsilonGreedy();
        } else {
            return null;
        }
    }
    
}
